package com.enzoism.springboot.dive.model;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@ToString
public class UsrModel implements Serializable {
    private String usrId;
    private Long clkNum;
    private Long usrNum;

    public UsrModel(String usrId, long clkNum, long usrNum) {
        this.usrId = usrId;
        this.clkNum = clkNum;
        this.usrNum = usrNum;
    }

    public static List<UsrModel> initList() {
        List<UsrModel> dataList = new ArrayList<>();
        UsrModel UsrModel1 = new UsrModel("001", 010, 010);
        UsrModel UsrModel2 = new UsrModel("001", 010, 001);
        UsrModel UsrModel3 = new UsrModel("001", 101, 300);
        UsrModel UsrModel4 = new UsrModel("002", 31, 178);
        UsrModel UsrModel5 = new UsrModel("003", 51, 881);
        UsrModel UsrModel6 = new UsrModel("004", 61, 1);
        UsrModel UsrModel7 = new UsrModel("009", 178, 10);
        UsrModel UsrModel8 = new UsrModel("005", 13, 129);
        UsrModel UsrModel9 = new UsrModel("006", 100, 150);
        dataList.add(UsrModel1);
        dataList.add(UsrModel2);
        dataList.add(UsrModel3);
        dataList.add(UsrModel4);
        dataList.add(UsrModel5);
        dataList.add(UsrModel6);
        dataList.add(UsrModel7);
        dataList.add(UsrModel8);
        dataList.add(UsrModel9);
        return dataList;
    }
}
